// SkyFeatureDialog.cpp : implementation file
//

#include "../stdafx.h"
#include "../Reflectometry.h"
#include "SkyFeatureDialog.h"
#include "afxdialogex.h"


// CSkyFeatureDialog dialog

IMPLEMENT_DYNAMIC(CSkyFeatureDialog, CDialogEx)

CSkyFeatureDialog::CSkyFeatureDialog(CWnd* pParent /*=NULL*/)
	: CDialogEx(CSkyFeatureDialog::IDD, pParent)
	, m_featurePointX(0)
	, m_featurePointY(0)
	, m_featurePointZ(0)
{

}

CSkyFeatureDialog::~CSkyFeatureDialog()
{
}

void CSkyFeatureDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialogEx::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT_FPX, m_featurePointX);
	DDX_Text(pDX, IDC_EDIT_FPY, m_featurePointY);
	DDX_Text(pDX, IDC_EDIT_FPZ, m_featurePointZ);
}


BEGIN_MESSAGE_MAP(CSkyFeatureDialog, CDialogEx)
	ON_BN_CLICKED(IDOK, &CSkyFeatureDialog::OnBnClickedOk)
END_MESSAGE_MAP()


// CSkyFeatureDialog message handlers


void CSkyFeatureDialog::OnBnClickedOk()
{
	UpdateData(TRUE);

	// TODO: Add your control notification handler code here
	CDialogEx::OnOK();
}
